update various files for 2d version