modify kingdom of galiza