main php updates