shape someone or something up

Meaning 1
to improve one's physical shape in order to perform better
Sentence 1
That baseball team bettershape up this spring in spring practice.
Meaning 2
to do or perform better
Sentence 2
You better shape up at the office or you will lose your job.