implemented updating and destroying users