To physically attack in order to cause injury.
To subject (a person) to a severe scolding, interrogation, etc.
To improve a prototype, or first draft.