currency_rate_update: refactoring code syntax