updating flaskr post