update admin and index