Some more database function added