adding timestamp to DB