Edit form now posts correctly