update for set_java