add dump func, work updates