Adds atomic updates to levelup database