Added REST PUT functionality