Updated reference to wrong constant in index_model, resulting in the registrations not being able to update. This fixes #5.