Fixed some errors preventing views from rendering. Changed update HTTP method from POST to PUT