updates to php files