Set created-at and updated-at time when saving items