fix: update location attribute