make upload and delete work in webui