add meta and db