Update entity for sonata admin