add delete paper api
fix deleting