update model on scope after save