working on put request for words endpoint