iframe call parent function to update html status.