added in hack to checksize when updating