added update and destroy methods to blog app