Update Shell Grammar