Name change in Bahrain CPR due to addition of surname in passport

I lived in Bahrain for 18 months.My name on CPR was XXX.I also have a driving license for the same.Due to recent law regarding requirement of surname in passport,I couldn't renew my visa.So I left Bahrain.I came back to my native and changes my name in passport as XXX YYY.Now I got an offer in a new company.They are processing my Visa.Will this addition of surname YYY affect my Visa processing?Also will I get Visa in old CPR Number or new card with new number will be issued???

Either way is possible; depends on how CIO wants to handle this.