add updateitem method to environment
improve a tostring
add editionagent