Updated the Security Config