This is to update the main page of the app