initialize entities map to prevent NullPointerException when updating empty systems