moved update db to admin panel