updated schema again
updated schema to fix syntax issue
fixed writing issue and added 60 minute decorator