added some edit post code