update repository with func that return all posts for one category and also the other  categories of each post is there exist
update backend prohresS