updated blocks to add upload document and image feature