update cannon attack and torpedo attack operation