remove posts from server array, add them manually do mongodb database