Updating GA code