Updating entity module (security)