update joda-time and fix min/max instant