AJAX calls and updating finally works. Had to fix some urlpatterns