update the bind method.