Add database events