Adding callback to mono update function