@DRONAX - reviews_count isn't in your database table, so MySQL doesn't know what it is - you'd need to create it as a field on that table and keep it updated with the correct numbers before you updateRanks

If the users key exists in the cache Laravel will automatically use those results and not re-run the query. If the key does not exist yet Laravel will run the query and store the results in the cache for later use.

Nested Eager Loading
To eager load nested relationships, you may use "dot" syntax. For example, let's eager load all of the book's authors and all of the author's personal contacts in one Eloquent statement:

@THEUNFORGIVEN - What I said in my latest post would solve the issue - it just puts the form into the component - that way the component has access to all of the data in the form and then you could submit it all via an axios post request

Would this work for you? It separates the concerns of displaying existing values and adding new ones. I find it easier to maintain the datasets that way. Then you can use the parsed computed value to get the format you're looking for in your original post.