state: added deepextend for multiple state inits