Update config

@HaoK 

Fix for passing the right configuration for Identity

@rustd This needs to be updated in templates as well