updating empty productions