modify updating render flag