changes checkbox if else statements on edit page to look in redis hash