Fixed form data issue in put method