added put method
small changes
changes to support old submissions