intrduced call to updateStatus in frm_onCreateDocument