Fix update permission