implemented a means to return the new asset id when new asset is created