Updating code to provide blog editing