Eridu remained an important religious center when it was gradually surpassed in size by the nearby city of Uruk