added document upload capability