added stage.update and bitmap.updateCache