post data and upload pic