But it changes the definition by default because those states must accept gay marriages (state) and give them benefits (federal) which indirectly changes the definition of marriage...actually by default.
No it does not. The only part of statue was the denying those benefits in those states which made Gay marriage legal.