Update delegate.m