add update and destroy methods