Update for new powerline code