update line example