Update conditions for realm join in finish template