improvments to update