updates post method usage