Simple fix
Added a change parent method for entity