lines update fixed