core updates to php file