update error in sync gateway