fix the update hostname bug