add function update and updateselinux