update function dependencies