Added timestamp to all update and insert queries in the database.

Signed-off-by: Harman Sohanpal <harmansohanpal@gmail.com>