changed model update stuff