implemented order recording in fields update and creation