Fix create issue, add delete attachment