Update shell Grammar