CF-Auto-Root and Lollipop Update

I'm not very knowledgeable on rooting, so I wanted to check whether rooting my S5 with the CF-Auto-Root image would prevent future updates on my device, in particular the Lollipop update that Samsung is deploying. Will it still work in Kies or from the phone software updates?