update bitmap cache and test code