adding refresh to the myng-code and anchor name without requiring extra click on generate schema