adding editing capability to the select page, fixed tab redirect syntax