UpdateBoard Function added