Fixed all methods
Added updateBoard method