Adding notifications to the api tomcat service for when the keys change