update log4j 2 and add new algorightm