Fixed deprecated server code. PUT testing