edited post and location redirect if else render :new