Fixed record updating