passed proper array after update adn create.