write/modified routine changed