Fixed checbox updating