remove object from state array