db updated, methods returns fixed