Upgrade entity module (security)