refactors update
finished implementing background jobs