fixed setting created/updated filed upon creation/updating of models