Updated PUT method according to reference fields