Update piece class