update php in physics problems