update admin and fix some bug