add where-clause component for appending of conditions
fix db name for new server
add series name to median label