Changed ‘visit’ method to accept two arguments
Added events for database row added, updated or removed