update analytics endpoint