They are correct. beef up = imrove, make stronger, not formal The first sentence is passive voice; the second is active voice (transitive with an object).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.