cocoon not working on edit