Hi all

I want to update my S5 to thew newest version. It is using lots of battery life lately, from 7am till 5pm it goes down to 30% without barely even using it. Would I lose my root if I were to update?

Bit of a Samsung newbie so not 100% sure. Will it even update with it being rooted?