fix document attachments update issue (http://gssjira.gss.com.tw/browse/GSSCRSAAS-87)