Extract methods from update for readability

1 job for refactor-sonarqube in 1 minute and 9 seconds