update data and tabs