Implemented update functionality for all types of publications.