“rebuild” forces PyMOL to reapply colors to geometric objects in case any of them have gone out of sync.
cmd.recolor(string selection = 'all', string representation = 'everything')
recolour, cmd.recolor