Modified the listar and update methods