The existing centre will be replaced by a £15m community hub.