Add function to delete observation