Agriculture ministry working on new database