Refactored model but still having issues with updating attributes