add active record callbacks to keyword