It isn't possible to change entity's skin with code, you can edit only human's skin. Or you can modify it in texture pack.