Use correct params for updating attachments