update fixing deprecations