updated engine lib