updated private post method