Clean up board update code