finished render profile and category edit delete function