touch method to set createdAt/updatedAt properties