modify Plug.setName to return boolean