added parameter to getLastUpdatedApps to determine the amount of apps to get