Added PHP functions to update rates. Added delete item function