Trinder extends stay at Gloucester