update snapshot API after deploy from Travis