migration to change duration from integer to string, added form validations