code update on modify