added edit functionality to commissions