Updating posts controlelr