implement message append segment