edit title when creating a new node