add some state interaction with the webbit message