update bottle assert