Entry model improvements
Added updateOrderingCount() method to Entry model
Added comment