Retirement tax questions

So I need to redo the HSA contributions, divide the max contribution by 2 and enter that amount for both of us? I had been told since the contribution was in January & medicare was September that I would not have to take $ out since it was greater than 6 months. For this year we created a new separate HSA for the wife to avoid this problem. It would have been better to create an account for each in the beginning. Good advice for others!