Add create and update callbacks to persistance module