updated plantbean state + added reset functionality to states