Modified the listar and update methods. Added three constants