Added implementation for deleting and updating