update core api
fixes #882