Refactor code out into updateBomb method