Calculate changes of arrays Query Params based on content