evaluate updateFunc once on initialization