update times from int to timestamp