two way editing working