update sync gateway file