updating functionality after some measurements