adjusted events in pre-promote, added unset of master_host in unset_master to force get_slave_info to rerun