added function to update cscope file

Change-Id: Ieedc6885e99f39547ec999c468b6ea6a0dc9f633