update the doctrine workaround