update action and js callback for boards