added callback for int/list representation on updating values