Fixed bugs with modified and created fields, and added more update testing.