A new bound for the Brown-Erdős-Sós problem