making compatible with php5.3, adding static proxy
update