Set created at and updated at