Update background page to use updated API