updated ads engine