got the images and documents uploading and deleting as they should