fixing a bug in parser
update management