Adding update date to the database query.