Change ip to localhost and add new label for state