Added the update function for numpar only