update to blacklight 5.2.0 and fix deprecation warnings