updating for add