Updating php script