made admin page update db