Update board using Angular, bgin logic