To update appointext