remove old module pattern post and add new one