update permission and homepage