update state glue