updating table to have integers for time instead of datetime