update admin panel - fix some bugs