changes after implementing PUT