Included anonymouscontroller, enabled cross origin for methods in it and...

... made an update methode