Added route for updating scores
Small improvements to the code