rebuild list after command