changed to form_for, javascript for status updates