update library to speed haarcascadedetect