Added functionallity for editing name for node