added metadata_entries_clear_all api call which clears the metadata_entries table
remove puts