update, diable and enable next/prev buttons in detail view