make change api routes to use serial isntead of id