api updated and db added