Commit with model