update working

still need insert