extend deploycommand to refresh APC