update and fix mini url and begin to use form model