change matches endpoint, done with server tests