Ajax call works
everything works except updating
it is wrong, but it feels so right