refactored fetch_likes inner logic, optimized ammount of db-queries for changing likes