fixed markdown decoding issue and error with updating. Completed api endpoint for updating visibility.