better line update