FIX: undefined var in upload
FIX: updated time to be utc