‘update’ command enhanced for gem: first install system updates, then the rest