Create and delete entites added and update improved

Hello!

Thank you for your wrapper!! We are using it and I think its great!

I added some functions to create and delete entities and I tried to fix the problems I find when updating, maybe you could check it out and if you think it's useful I'm glad to share

Rodrigo