adds quotes and updates with puts