php classes updates