modified postSubmit to upload images and store with AWS S3
Modified postEdit to allow updating images