added method to edit quotes