Sean Curran reports as MPs agree to change their code of conduct and tighten the rules on outside work.