update to model update() function to save extra fields