update for handle multiple items in one form