Fixed order of execution
Saves version and related models!