Add chat.update and chat.delete APIs.