added publish modal
posts controller updates topics