update sql file names on update.sh
fix indentation bug