Added functionality for editing a posting