modified upd_protocol in order to make the project compile (new changes to come)