update power method