model update + communication with java