Refactor the update subscriber logic

This moves the update logic into the database core.

Change-Id: I6deab3ded5382b101f9e2a746285aca7e70bc2c7
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>