updating spring and groovy examples