update the function of assemlog