Update ruby design patterns