add edit and upload pic