Fixing update/created in database and discrepency between storage styles