phonebook update code style