updated entire spineentity api