fix for created vs modified update