update pow operation