Updating SQL file