properly linked value of completion checkbox to attribute and made it display on show page