renaming post method