Moved project update status fetching code into own function