fix update_authorized_keys_file bug