updating functions server