Employee Time Off template

I’m looking to expand on the employee time off template functionality. employees have a hire date. I would like to auto update the vacation starting days based on the employee hire date. say on the anniversary day if its more than a year update it to 10 days. basically i like to start the count over. there are other rules that we would need to follow but I like to start with this. any help wll be greatly appreciated.