update and add bitmap.cc