write result to db 50%