update fromview and gridview