frontend changes to form