Change `update` command to update ancestors too.