Update tanks-functions.js