Update helper.php

This is for API 3.x.x