Update singleton pattern