Update powers.py