added edit pony functions