Change the codes of client