Fix sync bug

The update time was being saved as a string instead of a long.