php docs and updates