Add helpers functions to database