post method updated