some changes in update, drop selinux in main