The function addstrupdate works