reverting the entity api update