updating line