Updates to put method