Updating controller, adding timestamps to all tables