Edit link on the form not working