Added upsert functionality to database module
Implmented Save Pick