put method changed.