Added the sql query to increment the timer