integrate loding bar and sendto now db