update lamp factory