push timestamp to database