edit functionality on quotes