update that works with newer version of jenkins