added endpoint for updating rates
added endpoint for updateing rates