modify quotes controller