add callback which will be executed after updating values