updating for diff versions