update function pointer