update to 2.10 (using deprecated methods again for backwards compatibility)