updates example, cleanup indents, makes new featureLayer