Updating security modules