Changes for updating records