added project detail template, replaced editing with helper function