Added update method and repository to...

base ApplicationService.
It feels somewhat clunky and will most likely change again