update admin and user view