removing debugging messages and updating proxy