Update script for codeclimate