update workrecord