Added timestamps to database