update state.js lib that fixes bug related to composite