adding method push_db