update of functions