update power_func.coffee