apply updates to example func