Updates the leader key
Updates comments in some set variables