Change deprecated live method to on()