remove self manage history state
update history api