php sdk and demo update