Updated level code