rebuild and update dependencies